#!/usr/bin/python
# -*- coding: UTF-8 -*-

#作者 幽灵代码
#QQ 29672366
#邮箱 29672366@qq.com
#日期 2020.9.30

import sys
import os
sys.path.append(os.getcwd()+'/lib/user')

import aitime.aitime as aitime
import character.character as character
import hardware.hardware as hardware
import weather.weather as weather
import translate.translate as translate
import traffic.traffic as traffic


'''1.0 时间
'''
#获取时间
def getTime(text):
    return aitime.getTimeDict(text)

'''1.1 节日
'''

'''2.0 角色
'''
#获取角色
def getCharacter(text):
    return character.getCharacter(text)

'''3.0 硬件
'''
#处理器
def getCPU(text):
    return hardware.getCPU(text)

#主板
def getMotherboard(text):
    return hardware.getMotherboard(text)

#BIOS
def getBIOS(text):
    return hardware.getBIOS(text)

#硬盘
def getDisk(text):
    return hardware.getDisk(text)

#内存
def getPhysicalMemory(text):
    return hardware.getPhysicalMemory(text)

#网卡mac地址：
def getMacAddress(text):
    return hardware.getMacAddress(text)

'''4.0 天气
'''
#天气
def getWeather(text):
    return weather.getWeather(text)

'''5.0 交通
'''
#天气
def getTraffic(text):
    return traffic.getTraffic(text)

'''6.0 翻译
'''
#天气
def getTranslate(text):
    return translate.getTranslate(text)

'''7.0 音乐
'''
#音乐
def doMusic(text):
    import music.music as music
    return music.doMusic(text)
